package io.renren.modules.task.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.modules.task.dao.MtCcEquipmentPointRelatDao;
import io.renren.modules.task.entity.MtCcEquipmentPointRelatEntity;
import io.renren.modules.task.service.MtCcEquipmentPointRelatService;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service("mtCcEquipmentPointRelatService")
public class MtCcEquipmentPointRelatServiceImpl extends ServiceImpl<MtCcEquipmentPointRelatDao, MtCcEquipmentPointRelatEntity> implements MtCcEquipmentPointRelatService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MtCcEquipmentPointRelatEntity> page = this.page(
                new Query<MtCcEquipmentPointRelatEntity>().getPage(params),
                new QueryWrapper<MtCcEquipmentPointRelatEntity>()
        );

        return new PageUtils(page);
    }

}